//
//  MYGRecordVoiceAlert.swift
//  MYDoctor
//
//  Created by Denny on 2024/5/20.
//

import UIKit

class MYGRecordVoiceAlert: UIView {
    var type = 1
    @IBOutlet weak var timeLB: UILabel!
    var dismissBlock:(() -> ())?
    var tapSaveCompletion:(() -> ())?
    @IBAction func onSave(_ sender: Any) {
        if let c = tapSaveCompletion {
            c()
        }
    }
    
    @IBAction func onCancel(_ sender: Any) {
        if let c = dismissBlock {
            c()
        }
    }
}
